package com.szeldon.declatest.declaration.props;

import com.szeldon.utils.ValuesUtils;

/**
 * Class encapsulating property file of test suite.
 * 
 * @author szeldon
 * 
 */
public class PropertyFileDeclaration {

    private String location;

    /**
     * Creates declaration of property file.
     * 
     * @param location
     *            Location of property file. Can be relative or absolute path.
     */
    public PropertyFileDeclaration(String location) {
        this.location = ValuesUtils.checkNamedValueForNull("location", location);
    }

    /**
     * Returns location.
     * 
     * @return
     */
    public String getLocation() {
        return location;
    }

}
